package com.example.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Authority;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface AuthorityMapper extends BaseMapper<Authority> {
    public List<Authority> getAuthorityListByUsername(String username);

    public Integer getAllAuthorityListCount();
}
